Class to handle statistics and constructs based on allele frequencies.
More...
#include <GeneticMaterial.h>
Class to handle statistics and constructs based on allele frequencies.
◆ AlleleFreq()
AlleleFreq::AlleleFreq |
( |
| ) |
|
56 FILE * FreqFile = fopen(
"GeneticFrequencies.txt",
"r" );
59 g_msg->
Warn(
"GeneticFrequencies File missing",
"" );
62 for (
int i = 0; i < 16; i++ ) {
63 for (
int j = 0; j < 4; j++ ) {
64 fscanf( FreqFile,
"%d", & data );
68 for (
int i = 16; i < 32; i++ ) {
69 for (
int j = 0; j < 16; j++ ) {
70 fscanf( FreqFile,
"%d", & data );
int AlleleNumber[32][16]
Definition: GeneticMaterial.h:64
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: maperrormsg.cpp:59
class MapErrorMsg * g_msg
This pointer provides access the to the internal ALMaSS error message system.
Definition: maperrormsg.cpp:41
References AlleleNumber, g_msg, and MapErrorMsg::Warn().
◆ SupplyAN()
int AlleleFreq::SupplyAN |
( |
int |
loc, |
|
|
int |
al |
|
) |
| |
|
inline |
◆ AlleleFrequency
float AlleleFreq::AlleleFrequency[32][16] |
|
protected |
◆ AlleleNumber
int AlleleFreq::AlleleNumber[32][16] |
|
protected |
◆ HE
◆ HO
◆ NoAlleles
int AlleleFreq::NoAlleles[32] |
|
protected |
The documentation for this class was generated from the following files: